<h2 class="title">配件出库</h2>
<form action="index.php?c=zy_send_storehouse_record&m={%$act%}&post=1" method=post name=frm id="form1" enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">
<table class="tb_term" width="100%">
<tr>
	<td class="tr_td_width01 alignright">库请单号</td>
	<td class="tr_td_width03"><input type=text class="input_edit_stand txt-normal" id="storehouse_no" name="storehouse_no" size=25 value='{%$storehouse_no%}' dataType="Require" msg=""></td>
	<td  class="tr_td_width01 alignright">发往单位</td>
	<td><input type=text class="input_edit_stand txt-normal" id="send_company_name" name="send_company_name" size=25 value='{%$send_company_name%}' dataType="Require" msg=""></td>
</tr>
<tr>
	<td class="alignright">物资出处</td>
	<td>
		<select name="storehouse_record_from"  class="select_edit02 txt-normal" dataType="Require"  msg="" {% if $act eq 'edit' %}readonly{%/if%}>
			<option value="">-- 请选择 --</option>
			{%foreach from=$project_arr item=list%}
			<option value="{%$list%}" {%if $storehouse_record_from==$list%}selected{%/if%}>{%$list%}</option>
			{%/foreach%}
		</select>
	</td>
	<td class="alignright">经办日期</td>	
	<td>
		<input type=text class="input_date_edit txt-normal" name="operation_date" id="operation_date" maxlength="12" value='{%$operation_date|date_format:"%Y-%m-%d"%}' dataType="Require" msg="" readonly>
		<script>
			Calendar.setup({
				inputField     :    "operation_date",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>

<tr>
	<td class="alignright">经办人</td>
	<td colspan="3">
		<select name="operation_people" class="select_edit txt-normal" >
			{%html_options options=$admin_info selected=$operation_people %}
		</select>
	</td>
</tr>
<tr>
	<td class="alignright">备注</td>
	<td colspan="3"><textarea cols="70" rows="3" class="textarea_edit txt-normal" id="contactus" name="info" >{%$info%}</textarea></td>	
</tr>
</table>
<p class="btn_right">
	<input type=hidden name='send_record_id' id='send_record_id' value='{%$send_record_id%}'>
	<button type="submit" class="b-default"  hidefocus="true"><span><em>提交</em></span></button>
	<button type="button" class="b-default" hidefocus="true" onclick="javascript:location.href='index.php?c=zy_send_storehouse_record'"><span><em>返回</em></span></button>
</p>
</form>